package com.ailk.www.wsvas;

public class WsvasPortTypeProxy implements com.ailk.www.wsvas.WsvasPortType {
  private String _endpoint = null;
  private com.ailk.www.wsvas.WsvasPortType wsvasPortType = null;
  
  public WsvasPortTypeProxy() {
    _initWsvasPortTypeProxy();
  }
  
  public WsvasPortTypeProxy(String endpoint) {
    _endpoint = endpoint;
    _initWsvasPortTypeProxy();
  }
  
  private void _initWsvasPortTypeProxy() {
    try {
      wsvasPortType = (new com.ailk.www.wsvas.WsvasLocator()).getwsvasHttpPort();
      if (wsvasPortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)wsvasPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)wsvasPortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (wsvasPortType != null)
      ((javax.xml.rpc.Stub)wsvasPortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.ailk.www.wsvas.WsvasPortType getWsvasPortType() {
    if (wsvasPortType == null)
      _initWsvasPortTypeProxy();
    return wsvasPortType;
  }
  
  public java.lang.String queryUserInfo(java.lang.String in0) throws java.rmi.RemoteException{
    if (wsvasPortType == null)
      _initWsvasPortTypeProxy();
    return wsvasPortType.queryUserInfo(in0);
  }
  
  public java.lang.String queryAuthFailInfo(java.lang.String in0) throws java.rmi.RemoteException{
    if (wsvasPortType == null)
      _initWsvasPortTypeProxy();
    return wsvasPortType.queryAuthFailInfo(in0);
  }
  
  public java.lang.String modUserPwd(java.lang.String in0) throws java.rmi.RemoteException{
    if (wsvasPortType == null)
      _initWsvasPortTypeProxy();
    return wsvasPortType.modUserPwd(in0);
  }
  
  public java.lang.String modStatus(java.lang.String in0) throws java.rmi.RemoteException{
    if (wsvasPortType == null)
      _initWsvasPortTypeProxy();
    return wsvasPortType.modStatus(in0);
  }
  
  
}